<div class="AdvBanner">
<{if $data.ad_pic}>
<a href="<{$data.ad_pic_link}>" target="_blank">
	<img src='<{$data.ad_pic}>' style="<{if $data.ad_pic_width}>width:<{$data.ad_pic_width}>px;<{/if}><{if $data.ad_pic_height}>height:<{$data.ad_pic_height}>px;<{/if}>"/>
</a>
<{/if}>
</div>
